<div align=center>
    <div id="content">
        <? if (isset($info)) : ?>
            <h3 class="message">
                <?= $info;?>
            </h3>
        <? endif; ?> 
        <div id="main"> 
           <h1>Register</h1>
           <?= Form::open('shop/create'); ?>        		
        		<div class="row username">
	    			<input type="text" value="<?php if((isset($_POST['username'])&&!isset($message['username'])))echo $username=$_POST['username'];?>" id="username" name="username" placeholder="Username" />
                    <span class="hint">Please enter your username<span class="hint-pointer">&nbsp;
        		</div>
                <div class="error">
                    <?php if(isset($message['username'])) echo $message['username']; ?>
                </div>
                <div class="row email">
	    			<input type="text" id="email" value="<?php if((isset($_POST['email'])&&!isset($message['email'])))echo $username=$_POST['email'];?>" name="email" placeholder="Email" />
                    <span class="hint">Enter your email<span class="hint-pointer">&nbsp;
        		</div>
                <div class="error">
                    <?php if(isset($message['email'])) echo $message['email']; ?>
                </div>
        		
        		<div class="row pass">
        			<input type="password" id="password" name="password" placeholder="Password        " />
                    <span class="hint">Enter your password<span class="hint-pointer">&nbsp;
        		</div>
                <div class="error">
                    <?php if(isset($message['password'])) echo $message['password']; ?>
                </div>
                <div class="row pass">
        			<input type="password" id="password_confirm" name="password_confirm" placeholder="Confirm Password" />
                    <span class="hint">Confirm your password<span class="hint-pointer">&nbsp;
        		</div>           
                <div class="error">
                    <?php if(isset($message['password_confirm'])) echo $message['password_confirm']; ?>
                </div>
                <?= Form::submit('create', 'Create User'); ?>  		
        	<?= Form::close(); ?> 
        </div>       
    </div>
</div>